package com.ls.pattern.bridge.message;

/**
 * 消息抽象
 *
 * @author 挥之以墨
 */
public abstract class AbstractMessage  {

    private IMessage iMessage;

    public AbstractMessage(IMessage iMessage) {
        this.iMessage = iMessage;
    }

    public void sendMsg(String msg, String toUser) {
        iMessage.sendMsg(msg, toUser);
    }
}
